<script type="text/javascript" src="<?php echo base_url() ?>assets/js/pages/user.js"></script>
<link rel="stylesheet" href="<?php echo base_url() ?>assets/css/bootstrap.min.css">	
<link rel="stylesheet" href="<?php echo base_url() ?>assets/css/font-awesome.css">
<link rel="stylesheet" href="<?php echo base_url() ?>assets/css/font-import.css">
<link rel="stylesheet" href="<?php echo base_url() ?>assets/css/style.css">
<link rel="stylesheet" href="<?php echo base_url() ?>assets/css/user.css">

<section class="nav">
	<div class="wrapper">
		<div class="nav">
			<nav>
				<ul>
					<li class="profile selected">
						<label class="control-label">
							<a href="index.php/user#/profile" class="zone">THÔNG TIN CÁ NHÂN &nbsp;</a>
						</label>
					</li>
					<li class=""><label class="control-label">BÀI HỌC</label></li>
					<li class=""><label class="control-label">THẢO LUẬN</label></li>
				</ul>
			</nav>				
		</div>
	</div>
</section>

<section>
	<div class="wrapper form-visible profile">
		<form ng-controller="GlobalController">
			<table class="table">
				<tr>
						<td colspan="2"><h2><b>CHỈNH SỬA THÔNG TIN CÁ NHÂN</b></h2></td>			
					</tr>
				<tr>
					<td><label class="control-label">Họ và tên: </label></td>
					<td><input type="text" name="fullname" ng-model="profile.fullname" placeholder="Họ và tên"></td>
				</tr>
				<tr>
					<td><label class="control-label">Giới tính: </label></td>
					<td colspan="2">
						<span class="control-group">
							<label>Nam</label>
							<input type="radio" name="gender" ng-model="profile.gender" value="Nam" checked>
								&nbsp;&nbsp;
							<label>Nữ</label>
							<input type="radio" name="gender" ng-model="profile.gender" value="Nữ" checked>
						</span>
					</td>
				</tr>
				<tr>
					<td><label class="control-label">Ngày sinh: </label></td>
					<td><input type="date" name="dob" ng-model="profile.dob"></td>
				</tr>
				<tr>
					<td><label class="control-label">Địa chỉ: </label></td>
					<td><input type="text" name="address" ng-model="profile.address" placeholder="Địa chỉ"></td>
				</tr>
				<tr>
					<td><label class="control-label">Email: </label></td>
					<td><input type="text" name="email" ng-model="profile.email" placeholder="Email"></td>
				</tr>
				<tr>
					<td><label class="control-label">Điện thoại: </label></td>
					<td><input type="text" name="phone" ng-model="profile.phone" placeholder="Điện thoại"></td>
				</tr>
				<tr>
					<td colspan="2">
						<button class="btn btn-warning" ng-click="submitForm(profile)">
						<a href="index.php/user#/profile">CẬP NHẬT
						</button>
					</td>
				</tr>
			</table>
		</form>
						
	</div>
</section>